<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>居中显示</title>
		<style type="text/css">
		div{
			width: 600px;
			height:600px;
			background-color: aqua;
			text-align: center;
			border: black solid 2px;
			position: absolute;
			margin: 0 auto;
			
		}
		article{
			font-size: 20px;
			line-height: 600px;
		}
		</style>
	</head>
	<body>
		<div>
		<article>Lorem ipsum dolor sit am</article>
		</div>
	</body>
</html>
